package cm.day10;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class Test2 {
    public static void main(String[] args) {
        BufferedWriter bw= null;
        try {
            //
            bw = new BufferedWriter(new FileWriter("d:/aaa/bbb.txt"));
            bw.write("登鹤雀楼");
            bw.newLine();
            bw.write("王之涣");
            bw.newLine();
            bw.write("白日依山尽");
            bw.newLine();
            bw.write("黄河入海流");
            bw.newLine();
            bw.write("欲穷千里目");
            bw.newLine();
            bw.write("更上一层楼");
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
        }
        try {
            bw.close();
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
